﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SmartParking.Bussiness
{
    public class SmartParkingException : Exception
    {
        public SmartParkingException()
        {
            // Add implementation.
        }
        public SmartParkingException(string message)
            : base("SmartParking: " + message)
        {
            // Add implementation.
        }
        public SmartParkingException(string message, Exception inner)
            : base("SmartParking: " + message, inner)
        {
            // Add implementation.
        }

        // This constructor is needed for serialization.
        protected SmartParkingException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            // Add implementation.
        }
    }
}
